﻿using System;
using System.Runtime.Serialization;

namespace Sustainalytics.ESGRatings.BusinessLogic.Exceptions
{
    public class EsgProfileUnidentifiedException: Exception
    {
          public string Errors { get; set; }
        public EsgProfileUnidentifiedException()
        {
        }

        public EsgProfileUnidentifiedException(string message) : base(message)
        {
            this.Errors = message;
        }

        public EsgProfileUnidentifiedException(string message, Exception inner) : base(message, inner)
        {
            this.Errors = message;
        }

        protected EsgProfileUnidentifiedException(
            SerializationInfo info,
            StreamingContext context) : base(info, context)
        {
        }
    }
}
